package mo.golden;

public class L01_01 {

    public boolean isUnique(String astr) {

        int[] count = new int[26];
        for (char c : astr.toCharArray()) {
            count[c-'a']++;
            if (count[c-'a']>1) {
                return false;
            }
        }
        return true;

    }

}
